export const model = {
    id: undefined,
    phone: undefined,
    password: undefined,
    encryptKey: undefined,
    code: undefined,
}
export const rules = {
    phone: [
        { required: true, message: '请输入手机号', trigger: 'blur' },
        { message: '请输入正确的手机号', trigger: 'change', pattern: /^1[3456789]\d{9}$/ },
    ],
    code: [
        { required: true, message: '请输入验证码', trigger: 'blur' },
    ],
    password: [
        { required: true, message: '请输入密码', trigger: 'blur' },
    ],
    useStatus: [
        { required: true, message: '请输入状态', trigger: 'blur' },
    ],
}